﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OAProject.Domain.Entities;

/// <summary>
/// 用户菜单
/// </summary>
namespace OAProject.Domain.Interfaces
{
    public interface IUsersMenusRepository:IRepository<UsersMenus>
    {
        //显示分配权限
        List<RoleMenus> RoleMenusShow(int id);

        //添加分配权限
        int AddRoleMenus(List<int> menuIds, int userId);
    }
}
